package com.person.jiaiplan.service;

import com.person.jiaiplan.pojo.dto.expenses.AccountMemberAddReqDTO;
import com.person.jiaiplan.pojo.dto.expenses.AccountMemberInfoResDTO;
import com.person.jiaiplan.pojo.dto.expenses.AccountMemberQueryReqDTO;
import com.person.jiaiplan.pojo.entity.AccountMemberInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface AccountMemberInfoService extends IService<AccountMemberInfo>{

    /**
     * 添加账号
     * @param reqDTO
     * @return
     */
    Boolean addAccountInfo(AccountMemberAddReqDTO reqDTO);

    /**
     * 查询会员账号列表
     * @param reqDTO
     * @return
     */
    List<AccountMemberInfoResDTO>  queryList(AccountMemberQueryReqDTO reqDTO);
}
